2014-03-05 - 11723.100 - Enhancement - Weekly Inventory FM #ABAP #SDMiscellaneousReports
ENHANCEMENT
11723.100 - Weekly Inventory FM
Requirement Summary
Need to change the season logic for weekly inventory function module.
Admin Info
Purpose
|
Need to change the season logic for weekly inventory function module.
|
Requested By
|
Ashwin Kucheriya
|
Spec Created By
|
Krishna Sandeep Gurram
|
Spec Created Date
|
0305/2014
|
Spec QA by
|
Uday Kumar P
|
Objects
|
ZBI_GENERIC_INVEXT
|
Document Status
|
WIP
|
References
Prior Tickets
None
Documents
None
Functional Requirement
- Currently we are fetching the valid Season and Collection for a material with a logic based on Order date from and Order date to fields.
- Change the logic from considering Order date from and Order date to values to Delivery date to value.
Solution Summary
[Discuss this section with Requester and get approval prior to beginning work]
Change the logic by considering the following conditions.
- Consider only the seasons which has the entries in /AFS/DPRG_KOND table with blank values in 'KUNNR' field.
- Consider the Season,Collection entry which has highest Delivery date to value by comparing it with current system date
- For the Season,Collection If the Delivery date to has '9999' as its year then consider the entry of next highest date and if it fails then consider the entry of '9999'.
- If the above two conditions fail then pass the entry which has the highest Order date to value.
Test Plan
[List test scenarios/cases to be executed here]
|
Test Scenario
|
Expected Results
|
1
|
Identify the Material has highest delivery date in/AFS/DPRG_KOND table other than '9999' as its year.
|
Season, Collection with highest Delivery date to should be populated to the Material.
|
2
|
Identify the Material which has highest delivery date in/AFS/DPRG_KOND table with '9999' as its year.
|
Season, Collection with highest Delivery date to should be populated to the Material.
|
3
|
Identify the Material which doesn't have highest Delivery date to entries comparing current system date.
|
Season, Collection with highest Order date to should be populated to the Material.
|
Solution Details
[Provide complete technical details for configuration or programming here]
Change the logic by considering the following conditions.
- Consider only the seasons which has the entries in /AFS/DPRG_KOND table with blank values in 'KUNNR' field.
- Consider the Season,Collection entry which has highest Delivery date to value by comparing it with current system date
- For the Season,Collection If the Delivery date to has '9999' as its year then consider the entry of next highest date and if it fails then consider the entry of '9999'.
- If the above two conditions fail then pass the entry which has the highest Order date to value.
Issues
None